<?php
//获取参数
$osl_id = $route->bodyParams["osl_id"];//主键ID

//更新条件
$whereArr = [
    "osl_id" => $osl_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_supplement_lession",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );